﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="details.aspx.vb" Inherits="touristspot.details" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p>
        <br />
    </p>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="ID" DataSourceID="detailsiSqlDataSource1" CssClass="design" AllowSorting="True" 
        Width="589px" Height="202px">
            <Columns>
                <asp:BoundField DataField="IName" HeaderText="IName" SortExpression="IName" />
                <asp:BoundField DataField="Ilocation" HeaderText="Ilocation" 
                    SortExpression="Ilocation" />
                <asp:BoundField DataField="Idescription" HeaderText="Idescription" 
                    SortExpression="Idescription" >
                <ControlStyle CssClass="Idescription" ForeColor="Red" />
                </asp:BoundField>
                <asp:BoundField DataField="icomment" HeaderText="icomment" 
                    SortExpression="icomment">
                <ControlStyle CssClass="icomment" />
                </asp:BoundField>
                <asp:BoundField DataField="Stars" HeaderText="Stars" SortExpression="Stars" />
                <asp:ImageField DataImageUrlField="Ipicture">
                    <ControlStyle CssClass="Ipicture" Height="200px" Width="200px" />
                </asp:ImageField>
            </Columns>
        </asp:GridView>
        <asp:SqlDataSource ID="detailsiSqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:tourismConnectionString %>" 
            ProviderName="<%$ ConnectionStrings:tourismConnectionString.ProviderName %>" 
            SelectCommand="SELECT [ID], [IName], [Ilocation], [Ipicture], [Idescription], [icomment], [Stars] FROM [Isalnd] WHERE ([ID] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ID" QueryStringField="ID" Type="Int32" />
            </SelectParameters>
        </asp:SqlDataSource>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
    <p>
    </p>
</asp:Content>
